export  function isArrayLike(list){
    if (list.length === 0 || typeof list === 'string'){
        return false;
    }
    if (Array.isArray(list)){
        return true;
    }
    if (typeof list.length === 'number' && list.length > 0 && list.hasOwnProperty(0) && list.hasOwnProperty(list.length - 1)){
        return true;
    }
    return false;
}